package com.xzz.constants;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties("register.smscode")
@Component
@Data
public class SmsCodeConstants {

    //yml中的配置参数
    private Long interval;
    private Long timeout;
    private Integer codesize;
    private String smsmessage;
    private String smstitle;

}